gtk4.git
20 years agoReturn NULL instead of FALSE in g_return_val_if_fail in a
Behdad Esfahbod [Sat, 1 Apr 2006 00:25:00 +0000 (00:25 +0000)]
Return NULL instead of FALSE in g_return_val_if_fail in a

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
        * gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
        instead of FALSE in g_return_val_if_fail in a pointer-returning
        function. (#336764, Morten Welinder)

20 years agoconfigure.in: Added 'or' (Oriya) to ALL_LINGUAS.
Gora Mohanty [Fri, 31 Mar 2006 21:33:23 +0000 (21:33 +0000)]
configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.

20 years agoDon't assert that the age is positive. (#336773, Morten Welinder)
Matthias Clasen [Fri, 31 Mar 2006 21:20:14 +0000 (21:20 +0000)]
Don't assert that the age is positive. (#336773, Morten Welinder)

2006-03-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't
assert that the age is positive.  (#336773, Morten Welinder)

20 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:29:44 +0000 (08:29 +0000)]
Updated Albanian translation.

* sq.po: Updated Albanian translation.

20 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:27:09 +0000 (08:27 +0000)]
Updated Albanian translation.

20 years agoUpdates
Matthias Clasen [Fri, 31 Mar 2006 06:31:50 +0000 (06:31 +0000)]
Updates

20 years agoShrink this
Matthias Clasen [Fri, 31 Mar 2006 06:09:33 +0000 (06:09 +0000)]
Shrink this

20 years agoDon't leak the keyfile parser in the error case.
Matthias Clasen [Fri, 31 Mar 2006 05:17:56 +0000 (05:17 +0000)]
Don't leak the keyfile parser in the error case.

2006-03-31  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile
parser in the error case.

* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon)
(icon_data_free, load_themes):
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
allocator for GtkIconData and UnthemedIcon structs.

20 years agoFix translation comments for localizable digit formats. (fixes bug
Behdad Esfahbod [Thu, 30 Mar 2006 22:56:09 +0000 (22:56 +0000)]
Fix translation comments for localizable digit formats. (fixes bug

2006-03-30  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkcalendar.c: Fix translation comments for localizable
        digit formats. (fixes bug #336650)

20 years agoFix the doc comment format.
Matthias Clasen [Thu, 30 Mar 2006 21:30:37 +0000 (21:30 +0000)]
Fix the doc comment format.

2006-03-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
comment format.

* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item)
(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item)
(gtk_recent_manager_get_limit, gtk_recent_manager_add_full)
(gtk_recent_manager_get_items, gtk_recent_manager_remove_item):

* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age):
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers)
(gtk_recent_chooser_set_sort_func):
* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
parameter names between .c and .h files to help gtk-doc.

20 years agoAdditions
Matthias Clasen [Thu, 30 Mar 2006 20:59:22 +0000 (20:59 +0000)]
Additions

2006-03-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk-sections.txt: Additions

20 years agoReword docs to help gtk-doc.
Matthias Clasen [Thu, 30 Mar 2006 20:56:03 +0000 (20:56 +0000)]
Reword docs to help gtk-doc.

2006-03-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
docs to help gtk-doc.

20 years agocs.po: Progress bar fix (#336645).
Stanislav Brabec [Thu, 30 Mar 2006 20:43:38 +0000 (20:43 +0000)]
cs.po: Progress bar fix (#336645).

20 years agoAdded Dzongkha translations
Guntupalli Karunakar [Thu, 30 Mar 2006 20:10:57 +0000 (20:10 +0000)]
Added Dzongkha translations

20 years agoAdd recent chooser to the widget gallery
Matthias Clasen [Thu, 30 Mar 2006 18:52:52 +0000 (18:52 +0000)]
Add recent chooser to the widget gallery

20 years agoMake sure to get an icon window when constructing the fallback_icon. This
Matthias Clasen [Thu, 30 Mar 2006 18:22:39 +0000 (18:22 +0000)]
Make sure to get an icon window when constructing the fallback_icon. This

2006-03-30  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
icon window when constructing the fallback_icon. This
fixes a crash when dragging icons between screens in
nautilus.  (#325751, Hylke van der Schaaf)

20 years agoAdded gdk_pixmap_foreign_new_for_screen
Michael David Emmel [Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)]
Added gdk_pixmap_foreign_new_for_screen

20 years agoAdd documentation for the GtkLinkButton (#336592)
Emmanuele Bassi [Thu, 30 Mar 2006 15:49:22 +0000 (15:49 +0000)]
Add documentation for the GtkLinkButton (#336592)

2006-03-30  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Add documentation for the GtkLinkButton (#336592)

* docs/reference/tmpl/gtklinkbutton.sgml: Add description
of the GtkLinkButton.

* docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines
for migrating code from GnomeHRef to the GtkLinkButton.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/Makefile.am: Build glue for the porting
guide.

20 years agoAdd testrecentchooser.
Behdad Esfahbod [Thu, 30 Mar 2006 09:07:59 +0000 (09:07 +0000)]
Add testrecentchooser.

20 years agoMake it compile
Matthias Clasen [Thu, 30 Mar 2006 04:58:15 +0000 (04:58 +0000)]
Make it compile

20 years agoNew function to allow wrapping a native pixmap without a server roundtrip.
Matthias Clasen [Thu, 30 Mar 2006 04:08:51 +0000 (04:08 +0000)]
New function to allow wrapping a native pixmap without a server roundtrip.

2006-03-29  Matthias Clasen <mclasen@redhat.com>

        * gdk/gdk.symbols:
        * gdk/gdkpixmap.h:
        * gdk/win32/gdkpixmap-win32.c:
        * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
        New function to allow wrapping a native pixmap without
        a server roundtrip.  (#334954, David Baron)

20 years agoFix some symbol aliasing glitches
Matthias Clasen [Wed, 29 Mar 2006 21:08:06 +0000 (21:08 +0000)]
Fix some symbol aliasing glitches

20 years agoMake gtkalias.h the last included file.
Emmanuele Bassi [Wed, 29 Mar 2006 21:01:36 +0000 (21:01 +0000)]
Make gtkalias.h the last included file.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file.

20 years agoFix a typo that broke aliasing rules.
Emmanuele Bassi [Wed, 29 Mar 2006 20:48:56 +0000 (20:48 +0000)]
Fix a typo that broke aliasing rules.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* gtk/gtk.symbols: Fix a typo that broke aliasing rules.

20 years agoAdd missing CLIPBOARD atom.
Richard Hult [Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)]
Add missing CLIPBOARD atom.

2006-03-29  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.

20 years agoAdd a migration guide for porting to the new GtkRecent stuff from the old
Emmanuele Bassi [Wed, 29 Mar 2006 20:19:01 +0000 (20:19 +0000)]
Add a migration guide for porting to the new GtkRecent stuff from the old

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
guide for porting to the new GtkRecent stuff from the old EggRecent
code.

* docs/reference/gtk/tmpl/gtkrecentchooser.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserdialog.sgml:
* docs/reference/gtk/tmpl/gtkrecentchoosermenu.sgml:
* docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml:
* docs/reference/gtk/tmpl/gtkrecentfilter.sgml:
* docs/reference/gtk/tmpl/gtkrecentmanager.sgml: Add template files
for the reference guide.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/Makefile.am: Build glue for add GtkRecent to
the reference guide.

20 years agoImport GtkRecent* from libegg.
Emmanuele Bassi [Wed, 29 Mar 2006 20:16:44 +0000 (20:16 +0000)]
Import GtkRecent* from libegg.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Import GtkRecent* from libegg.

* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.

* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.

* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.

20 years agoAdd a test suite for GtkRecentChooser.
Emmanuele Bassi [Wed, 29 Mar 2006 20:08:23 +0000 (20:08 +0000)]
Add a test suite for GtkRecentChooser.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/Makefile.am:
* tests/testrecentchooser.c: Add a test suite for GtkRecentChooser.

20 years agoImport GtkRecent* from libegg.
Emmanuele Bassi [Wed, 29 Mar 2006 20:05:08 +0000 (20:05 +0000)]
Import GtkRecent* from libegg.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Import GtkRecent* from libegg.

* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.

* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.

* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.

20 years agoEmit page-added before switch-page
Matthias Clasen [Wed, 29 Mar 2006 15:20:21 +0000 (15:20 +0000)]
Emit  page-added before switch-page

20 years agoHandle double queuing, rather than asserting that it does not happen.
Matthias Clasen [Wed, 29 Mar 2006 05:35:00 +0000 (05:35 +0000)]
Handle double queuing, rather than asserting that it does not happen.

2006-03-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
double queuing, rather than asserting that it does not
happen.  (#330617)

20 years ago*** empty log message ***
Matthias Clasen [Wed, 29 Mar 2006 03:49:11 +0000 (03:49 +0000)]
*** empty log message ***

20 years agoFix docs syntax.
Matthias Clasen [Tue, 28 Mar 2006 18:58:05 +0000 (18:58 +0000)]
Fix docs syntax.

2006-03-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix
docs syntax.

20 years agoSyntax fixes.
Matthias Clasen [Tue, 28 Mar 2006 18:47:43 +0000 (18:47 +0000)]
Syntax fixes.

2006-03-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkcellrendereraccel.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/directfb.sgml: Syntax fixes.

20 years agoFix drag-selection after double-click. (#323862, Benjamin Berg)
Matthias Clasen [Tue, 28 Mar 2006 17:28:19 +0000 (17:28 +0000)]
Fix drag-selection after double-click. (#323862, Benjamin Berg)

2006-03-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
(selection_motion_event_handler): Fix drag-selection after
double-click.  (#323862, Benjamin Berg)

* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
into a function and use it in move_mark_to_pointer_and_scroll,
drag_scan_timeout and selection_motion_event_handler.
(Paolo Borelli)

20 years agoMove the call to gtk_text_view_end_selection_drag() from
Matthias Clasen [Tue, 28 Mar 2006 16:01:11 +0000 (16:01 +0000)]
Move the call to gtk_text_view_end_selection_drag() from

2006-03-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_do_popup)
(gtk_text_view_grab_notify): Move the call to
gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
to gtk_text_view_grab_notify, so that it works not only
for the text views own popup, but also for other ways in which
we might become grab-shadowed during a selection drag.
(#74620, Li Yuan)

20 years agoreviewed by: Tim Janik
Sven Herzberg [Mon, 27 Mar 2006 23:01:59 +0000 (23:01 +0000)]
reviewed by: Tim Janik

2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik

* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
called from gtk_pixmap_finalize (bug 336254)

20 years agoMake the poll func work with real file descriptors. We do this by creating
Anders Carlsson [Mon, 27 Mar 2006 18:46:38 +0000 (18:46 +0000)]
Make the poll func work with real file descriptors. We do this by creating

2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (select_thread_func):
        (got_fd_activity):
        (poll_func):
        (gdk_event_translate):
        Make the poll func work with real file descriptors.
        We do this by creating a thread which calls poll and then
        signals the main thread using a run loop source.

        * gtk/gtkclipboard-quartz.c:
        (-[GtkClipboardOwner pasteboard:provideDataForType:]):
        Remove debugging output

20 years agoCheck that the widget is viewable. (#336200, Bastian Nocera)
Matthias Clasen [Mon, 27 Mar 2006 18:30:22 +0000 (18:30 +0000)]
Check that the widget is viewable. (#336200, Bastian Nocera)

2006-03-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
the widget is viewable.  (#336200, Bastian Nocera)

20 years agobail out if there is no need for scrolling (more obvious than adding
Michael Natterer [Mon, 27 Mar 2006 17:00:01 +0000 (17:00 +0000)]
bail out if there is no need for scrolling (more obvious than adding

2006-03-27  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
for scrolling (more obvious than adding additional conditions to
the scroll offset calculation). Fixes bug #335912.

20 years agoAdd -xobjective-c to cflags. (#335956, Lllian Angel)
Anders Carlsson [Mon, 27 Mar 2006 11:34:43 +0000 (11:34 +0000)]
Add -xobjective-c to cflags. (#335956, Lllian Angel)

2006-03-27  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add -xobjective-c to cflags.
        (#335956, Lllian Angel)

        * gtk/gtkdnd-quartz.c:
        (gtk_drag_dest_set_track_motion):
        (gtk_drag_dest_get_track_motion):
        Add stubs for new functions.
        (#335955, Lillian Angel)

20 years agoAdd more stubs.
Richard Hult [Mon, 27 Mar 2006 10:47:29 +0000 (10:47 +0000)]
Add more stubs.

2006-03-27  Richard Hult  <richard@imendio.com>

* gdk/quartz: Add more stubs.

20 years agofile TODO.printing was initially added on branch gtk-printing.
Alexander Larsson [Mon, 27 Mar 2006 10:20:17 +0000 (10:20 +0000)]
file TODO.printing was initially added on branch gtk-printing.

20 years agoadd missing ')'.
Michael Natterer [Mon, 27 Mar 2006 10:17:31 +0000 (10:17 +0000)]
add missing ')'.

2006-03-27  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
add missing ')'.

20 years agoFix a build problem
Matthias Clasen [Sun, 26 Mar 2006 06:20:54 +0000 (06:20 +0000)]
Fix a build problem

20 years agoAnother leak
Matthias Clasen [Sun, 26 Mar 2006 06:15:51 +0000 (06:15 +0000)]
Another leak

20 years agoFix leaks
Matthias Clasen [Sun, 26 Mar 2006 06:13:17 +0000 (06:13 +0000)]
Fix leaks

20 years agoFix a leak
Matthias Clasen [Sun, 26 Mar 2006 06:10:15 +0000 (06:10 +0000)]
Fix a leak

20 years agoAnother one
Matthias Clasen [Sun, 26 Mar 2006 06:05:57 +0000 (06:05 +0000)]
Another one

20 years agoSmall optimization
Matthias Clasen [Sun, 26 Mar 2006 06:03:31 +0000 (06:03 +0000)]
Small optimization

20 years agofile gtkprinterlpr.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.c was initially added on branch gtk-printing.

20 years agofile gtkprinterlpr.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.h was initially added on branch gtk-printing.

20 years agofile gtkprinterpdf.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.c was initially added on branch gtk-printing.

20 years agofile gtkprinterpdf.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.h was initially added on branch gtk-printing.

20 years agoRemove a pointless check, pointed out by Kjartan Maraas.
Matthias Clasen [Fri, 24 Mar 2006 15:53:22 +0000 (15:53 +0000)]
Remove a pointless check, pointed out by Kjartan Maraas.

2006-03-24  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.

20 years agoDon't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
Matthias Clasen [Fri, 24 Mar 2006 15:06:11 +0000 (15:06 +0000)]
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,

2006-03-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
Nicolas Setton)

20 years agoback out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Tim Janik [Fri, 24 Mar 2006 14:03:45 +0000 (14:03 +0000)]
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out

Fri Mar 24 14:53:20 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktreemodel.h:
        * gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
        functions which turned out to cause too much trouble.

20 years agoUpdated.
Ahmad Riza H Nst [Fri, 24 Mar 2006 09:16:49 +0000 (09:16 +0000)]
Updated.

2006-03-24  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

* id.po: Updated.

20 years agosmall update
Matthias Clasen [Fri, 24 Mar 2006 03:09:08 +0000 (03:09 +0000)]
small update

20 years agoDocument <classname> in paths.
Matthias Clasen [Thu, 23 Mar 2006 23:35:24 +0000 (23:35 +0000)]
Document <classname> in paths.

2006-03-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.

20 years agoSupport subclasses in RC files. (#142417, Todd Berman, patch based on a
Matthias Clasen [Thu, 23 Mar 2006 23:21:30 +0000 (23:21 +0000)]
Support subclasses in RC files. (#142417, Todd Berman, patch based on a

2006-03-23  Matthias Clasen  <mclasen@redhat.com>

Support subclasses in RC files.  (#142417, Todd Berman, patch
based on a patch by Benjamin Berg)

* gtk/gtkrc.h:
* gtk/gtkrc.c: Support <classname> elements in widget_class paths
in rc files which match any classes derived from named class.

(_gtk_rc_init): Use the new syntax in the default rc string.

* gtk/gtkbindings.c: Support the new syntax for bindings too.

* tests/testrc.c: Tests for widget_class path matching

20 years agomake sure that gdk_drag_event() is called when track_motion is TRUE to
Carlos Garnacho [Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)]
make sure that gdk_drag_event() is called when track_motion is TRUE to

2006-03-23  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
        is called when track_motion is TRUE to receive drag_motion and
        drag_leave events properly.

20 years agoEmit the ::page-removed signal after removing the page. (#335238,
Matthias Clasen [Wed, 22 Mar 2006 21:11:40 +0000 (21:11 +0000)]
Emit the ::page-removed signal after removing the page. (#335238,

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
signal after removing the page.  (#335238, Christian Persch)

20 years agoMake it to expand when hovering during DnD
Carlos Garnacho [Wed, 22 Mar 2006 21:09:01 +0000 (21:09 +0000)]
Make it to expand when hovering during DnD

2006-03-22  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkexpander.c: Make it to expand when hovering during DnD

20 years agoAdd some documentation about supported image formats, and how to find out
Matthias Clasen [Wed, 22 Mar 2006 20:33:50 +0000 (20:33 +0000)]
Add some documentation about supported image formats, and how to find out

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-loader.c: Add some documentation about
supported image formats, and how to find out about them.
(#335536, Murray Cumming)

20 years agoAdditions.
Matthias Clasen [Wed, 22 Mar 2006 20:20:06 +0000 (20:20 +0000)]
Additions.

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Additions.

20 years agoImproved DND support for GtkNotebook (#332991, Carlos Garnacho)
Matthias Clasen [Wed, 22 Mar 2006 20:17:23 +0000 (20:17 +0000)]
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

Improved DND support for GtkNotebook  (#332991, Carlos Garnacho)

* gtk/gtk.symbols:
* gtk/gtkdnd.h:
* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
with getter and setter, for cases where the drag destination
is interested in drag motion events independent of targets.

* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
for the timeout used when expanding during DND.

* gtk/gtknotebook.c: Use the track_motion flag to switch
notebook tabs when hovering over tabs during DND.

20 years agoRemove some accidentally committed stuff
Matthias Clasen [Wed, 22 Mar 2006 20:06:16 +0000 (20:06 +0000)]
Remove some accidentally committed stuff

20 years agoUse fg_gc to draw the inter-row drop highlight. Also draw the line all the
Matthias Clasen [Wed, 22 Mar 2006 18:46:08 +0000 (18:46 +0000)]
Use fg_gc to draw the inter-row drop highlight. Also draw the line all the

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
draw the inter-row drop highlight. Also draw the line all the
way across, and flip it in RTL mode. (#334906, Ian McDonald)

20 years agoAdd a column that demonstrates how to use the new spinbutton cellrenderer.
Johan Dahlin [Wed, 22 Mar 2006 18:38:47 +0000 (18:38 +0000)]
Add a column that demonstrates how to use the new spinbutton cellrenderer.

    * tests/testtreeview.c: Add a column that demonstrates how to use
    the new spinbutton cellrenderer.

20 years agoRemove pointless includes of config.h, to make it easier compilable
Matthias Clasen [Wed, 22 Mar 2006 18:10:39 +0000 (18:10 +0000)]
Remove pointless includes of config.h, to make it easier compilable

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* tests/prop-editor.c:
* tests/testtreeview.c: Remove pointless includes of config.h,
to make it easier compilable against system GTK+.

20 years agoUpdates.
Matthias Clasen [Wed, 22 Mar 2006 17:45:05 +0000 (17:45 +0000)]
Updates.

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkcellrendererspin.sgml:
* gtk/tmpl/gtkcellrendererprogress.sgml:
* gtk/tmpl/gtkcellrenderercombo.sgml:
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.

20 years agorenamed last-char-timeout to password-hint-timeout and store all its data
Michael Natterer [Wed, 22 Mar 2006 16:17:52 +0000 (16:17 +0000)]
renamed last-char-timeout to password-hint-timeout and store all its data

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c: renamed last-char-timeout to
password-hint-timeout and store all its data in a struct attached
as QData.

* gtk/gtkcellrendererspin.c: fix typo in #include.

20 years agosend a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this
Carlos Garnacho [Wed, 22 Mar 2006 16:11:48 +0000 (16:11 +0000)]
send a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this

2006-03-22  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage*
        when doing tabs DnD, this allows DnD interaction with other widgets,
        added some docs for this too.
        * tests/testnotebookdnd.c: add some code to test it.

20 years agoAdd a cell renderer which uses a spinbutton to edit the value of a cell.
Matthias Clasen [Wed, 22 Mar 2006 15:28:16 +0000 (15:28 +0000)]
Add a cell renderer which uses a spinbutton to edit the value of a cell.

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkcellrendererspin.h:
* gtk/gtkcellrendererspin.c: Add a cell renderer which
uses a spinbutton to edit the value of a cell. (#156023,
Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)

* gtk/gtk.h:
* gtk/Makefile.am: Glue it in.

20 years agoapplied modified patch from maemo-gtk which allows the most recently
Michael Natterer [Wed, 22 Mar 2006 14:06:40 +0000 (14:06 +0000)]
applied modified patch from maemo-gtk which allows the most recently

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c: applied modified patch from maemo-gtk which
allows the most recently entered character in a hidden entry to be
shown for a configurable period of time. Fixes bug #334560.

20 years agocount down from G_MAXUINT to avoid clashes with application-added DND
Michael Natterer [Wed, 22 Mar 2006 10:39:51 +0000 (10:39 +0000)]
count down from G_MAXUINT to avoid clashes with application-added DND

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down
from G_MAXUINT to avoid clashes with application-added DND
targets.

* gtk/gtktextview.c (gtk_text_view_init): set an empty
GtkTargetList on the drag_dest so it is not NULL when a derived
class' init() function is called.

(gtk_text_view_target_list_notify): copy the text buffer's paste
targets into the view's destinstion target list (preserving
application-added DND targets), instead of replacing the view's
target list. Fixes bug #334399.

20 years agoAdd new files.
Anders Carlsson [Tue, 21 Mar 2006 16:50:47 +0000 (16:50 +0000)]
Add new files.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add new files.

        * gtk/gtkclipboard-quartz.c: Added.
        * gtk/gtkdnd-quartz.c: Added.
        * gtk/gtkquartz.c: Added.
        * gtk/gtkquartz.h: Added.
        Add dnd and clipboard implementations.

20 years agoremoving trailing \ fixes the build.
Michael Natterer [Tue, 21 Mar 2006 11:52:28 +0000 (11:52 +0000)]
removing trailing \ fixes the build.

2006-03-21  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/Makefile.am: removing trailing \ fixes the build.

20 years agoImplement gdk_window_scroll.
Anders Carlsson [Tue, 21 Mar 2006 09:36:46 +0000 (09:36 +0000)]
Implement gdk_window_scroll.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkgeometry-quartz.c:
        (gdk_window_scroll):
        Implement gdk_window_scroll.

20 years agoAdd the GDK part of the DND implementation.
Anders Carlsson [Tue, 21 Mar 2006 08:02:17 +0000 (08:02 +0000)]
Add the GDK part of the DND implementation.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/GdkQuartzWindow.c:
        (drag_operation_to_drag_action):
        (drag_action_to_drag_operation):
        (update_context_from_dragging_info):
        (-[GdkQuartzWindow draggingEntered:]):
        (-[GdkQuartzWindow draggingEnded:]):
        (-[GdkQuartzWindow draggingExited:]):
        (-[GdkQuartzWindow draggingUpdated:]):
        (-[GdkQuartzWindow performDragOperation:]):
        (-[GdkQuartzWindow wantsPeriodicDraggingUpdates]):
        (-[GdkQuartzWindow draggedImage:endedAt:operation:]):
        * gdk/quartz/gdkdnd-quartz.c:
        (gdk_drag_context_finalize):
        (gdk_drag_context_init):
        (gdk_drag_context_class_init):
        (gdk_drag_begin):
        (gdk_drag_status):
        Add the GDK part of the DND implementation.

        * gdk/quartz/Makefile.am:
        Add some missing headers.

        * gdk/quartz/gdkdrawable-quartz.h:
        * gdk/quartz/gdkprivate-quartz.h:
        * gdk/quartz/gdkquartz.h:
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_quartz_window_get_nsview):
        New function, for use by the GTK part of the DND implementation

20 years agoOffset coordinates by 0.5 pixels to get consistant results for both image
Anders Carlsson [Tue, 21 Mar 2006 07:49:05 +0000 (07:49 +0000)]
Offset coordinates by 0.5 pixels to get consistant results for both image

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdrawable-quartz.c:
        (gdk_quartz_ref_cairo_surface):
        (gdk_quartz_draw_rectangle):
        (gdk_quartz_draw_arc):
        (gdk_quartz_draw_polygon):
        (gdk_quartz_draw_drawable):
        (gdk_quartz_draw_segments):
        (gdk_quartz_draw_lines):
        (gdk_quartz_draw_pixbuf):
        (gdk_quartz_draw_image):
        (_gdk_quartz_drawable_get_context):
        * gdk/quartz/gdkdrawable-quartz.h:
        Offset coordinates by 0.5 pixels to get consistant results for both
        image contexts and screen contexts.

20 years ago]): Synthesize GDK_CONFIGURE events when the window position changes.
Anders Carlsson [Tue, 21 Mar 2006 07:36:54 +0000 (07:36 +0000)]
]): Synthesize GDK_CONFIGURE events when the window position changes.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/GdkQuartzWindow.c
        ([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
        when the window position changes.

20 years agoRemove an unused variable.
Matthias Clasen [Tue, 21 Mar 2006 03:59:44 +0000 (03:59 +0000)]
Remove an unused variable.

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_cursor): Remove an unused variable.

20 years agoImprove ChangeLog
Matthias Clasen [Tue, 21 Mar 2006 00:21:03 +0000 (00:21 +0000)]
Improve ChangeLog

20 years agoDon't leave page->tab_label dangling. (gtk_notebook_real_remove): Use
Matthias Clasen [Tue, 21 Mar 2006 00:12:48 +0000 (00:12 +0000)]
Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
page->tab_label dangling.
(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
(gtk_notebook_destroy): Leave the removal of the children
to the container destroy method.  (#319032, Yevgen Muntyan)

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
GTK_IN_DESTRUCTION flag, rather than roll our own.

20 years agoAlways save errno to a temporary before making other calls. (#335179,
Matthias Clasen [Mon, 20 Mar 2006 20:09:51 +0000 (20:09 +0000)]
Always save errno to a temporary before making other calls. (#335179,

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c:
        * gdk-pixbuf-io.c:
        * io-xpm.c:
        * io-xbm.c:
        * io-gif.c: Always save errno to a temporary before making
        other calls.  (#335179, Morten Welinder)

20 years agoAdd a window-placement-set property and a gtk-scrolled-window-placement
Matthias Clasen [Mon, 20 Mar 2006 19:17:59 +0000 (19:17 +0000)]
Add a window-placement-set property and a gtk-scrolled-window-placement

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c: Add a window-placement-set property
        and a gtk-scrolled-window-placement setting.  (#157025, Christian
        Neumair)

20 years agoMake sure gettext is initialized before using it. (#335129, Christian
Matthias Clasen [Mon, 20 Mar 2006 05:38:37 +0000 (05:38 +0000)]
Make sure gettext is initialized before using it. (#335129, Christian

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
is initialized before using it.  (#335129, Christian Persch)

20 years agoAdd MAINTAINERS
Matthias Clasen [Mon, 20 Mar 2006 03:52:27 +0000 (03:52 +0000)]
Add MAINTAINERS

20 years agoUpdates
Matthias Clasen [Mon, 20 Mar 2006 03:39:05 +0000 (03:39 +0000)]
Updates

20 years agofix a typo
Matthias Clasen [Mon, 20 Mar 2006 03:34:02 +0000 (03:34 +0000)]
fix a typo

20 years agoDocument that @cell must be one of the renderers of the icon view, warn if
Matthias Clasen [Mon, 20 Mar 2006 03:16:43 +0000 (03:16 +0000)]
Document that @cell must be one of the renderers of the icon view, warn if

2006-03-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
@cell must be one of the renderers of the icon view, warn if
it is not, and ignore @start_editing if @cell is not set.
(#335001, Emmanuel Rodriguez)

20 years agoAdd a missing comma. (#334774, Peter Breitenlohner)
Matthias Clasen [Thu, 16 Mar 2006 16:37:26 +0000 (16:37 +0000)]
Add a missing comma. (#334774, Peter Breitenlohner)

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Add a missing comma.  (#334774, Peter Breitenlohner)

20 years agoFix up compiler warnings
Matthias Clasen [Thu, 16 Mar 2006 15:53:36 +0000 (15:53 +0000)]
Fix up compiler warnings

20 years agoCheck for a stock icon, not a stock item, when deciding whether to use
Matthias Clasen [Thu, 16 Mar 2006 15:38:55 +0000 (15:38 +0000)]
Check for a stock icon, not a stock item, when deciding whether to use

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full)
(gtk_action_group_add_toggle_actions_full)
(gtk_action_group_add_radio_actions_full): Check for a stock
icon, not a stock item, when deciding whether to use stock-id
or icon-name.  (#334760, Jody Goldberg)

20 years agoUpdate the size of the image, by swapping the implementations of
Matthias Clasen [Thu, 16 Mar 2006 13:59:24 +0000 (13:59 +0000)]
Update the size of the image, by swapping the implementations of

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimage.c (gtk_image_clear): Update the size of the image,
by swapping the implementations of gtk_image_clear and
gtk_image_reset.  (#334657)

20 years agorelease notes
Matthias Clasen [Thu, 16 Mar 2006 13:31:11 +0000 (13:31 +0000)]
release notes

20 years agoMake expander-size a bit closer to Microsoft's values (bug 325699, Brad
Dom Lachowicz [Wed, 15 Mar 2006 19:19:33 +0000 (19:19 +0000)]
Make expander-size a bit closer to Microsoft's values (bug 325699, Brad

        * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Make expander-size
        a bit closer to Microsoft's values (bug 325699, Brad Taylor)

20 years agoMove it to the right place
Matthias Clasen [Wed, 15 Mar 2006 19:03:46 +0000 (19:03 +0000)]
Move it to the right place